Matt Chapman launched a two-run shot for his seventh homer of the season, while Logan Webb struck out seven over eight innings of work as the San Francisco Giants earned a 5-1 win over the Chicago Cubs.